/**
 * 
 */
package badugi;

/**
 * @author aleks
 *
 */
public class RoomException extends Exception {
	private static String[] namesOfErrors = {"Invalid value of NrOfPlayer; accepted: 2-6", "Error: NrOfTokens can not be smaller than big blind or small blind value", "Error: small blind can not be greater than or equal big blind", "Error: to little money", "Error: invalid operation"};
	private int nrOfEx;
/**
*
*@param n
*/
	RoomException(int n) {
		nrOfEx = n;
	}
/**
*
*/
	public String getMessage()
	{
		return namesOfErrors[nrOfEx];
	}
}
